package com.hotel.mapper;

import com.hotel.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author Lin
 * @since 2022-06-13
 */
public interface OrdersMapper extends BaseMapper<Orders> {

    List<Orders> getOrdersList(@Param(value = "number") String number,
                               @Param(value = "nickName")String nickName,
                               @Param(value = "checkoutTime") String checkoutTime,
                               @Param(value = "status")Integer status);

    List<Orders> getOrderDetail(@Param(value = "id") String id);
}
